package com.example.mapper;

import com.example.model.DateMessage;

import java.util.Date;
import java.util.List;


public interface DateMessageMapper {
    int add(DateMessage dateMessage);
    List<DateMessage> queryByGroupIdAndQQ(Date start, Date end, Long fromGroup, Long fromQQ);
    List<DateMessage> queryByGroupId(Date start, Date end, Long fromGroup);
    List<DateMessage> queryPeriod(Date start,Date end,String timeStart,String timeEnd,Long fromGroup, Long fromQQ);
}
